package com.jiayang.module.sensor;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiayang.module.sensor.domain.entity.SensorEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ Author     ：OuyangChenglong
 * @ Date       ：Created in 11:00 2021/9/9
 * @ Description：传感器dao层
 * @ Modified By：
 * @Version: 1.0$
 */
@Mapper
@Component
public interface SensorDao extends BaseMapper<SensorEntity> {

    List<SensorEntity> getAllSensorByUserId(Long uid);

}
